package com.jessechanrui.template.projectcase.infrastructure.demo.support.repository;

import com.jessechanrui.template.projectcase.infrastructure.demo.po.DemoPO;

import java.util.List;

/**
 * 示例仓储
 * @author chenrui
 * @date 2024/1/30
 */
public interface DemoRepository {
    DemoPO save(DemoPO demoPO);
    DemoPO getById(int id);
    List<DemoPO> getAll();
}
